package org.amphiprion.descentv2assistant.entity;

public class Condition extends Entity implements Comparable<Condition> {

	private String name;
	private int count;

	public Condition(String id) {
		super(id);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	@Override
	public int compareTo(Condition another) {
		return name.compareTo(another.name);
	}

	@Override
	public Condition clone() {
		Condition c = new Condition(id);
		c.name = name;
		c.count = count;
		return c;
	}
}
